package com.antball.aaa.bridge;

/**
 * @Auther: huangsj
 * @Date: 2019/9/5 17:54
 * @Description:
 */
public class AnimalBehaviour extends IBehaviour {

    public AnimalBehaviour(Animal animal) {
        super(animal);
    }

    @Override
    public String getName() {
        return animal.getName();
    }

    @Override
    public void walk() {
        animal.walk();
    }
}
